/*
 * @Description: 描述信息
 * @Version: 版本号
 * @Author: xuebao
 * @Date: 2023-12-08 14:39:05
 * @LastEditors: renmengxue
 * @LastEditTime: 2023-12-08 17:15:39
 */
export interface ImageProps {
  _id?: string,
  url?: string,
  createdAt?: string
}

export interface ResponseType< P = Record <string, never>>{
    code:number,
    msg:string,
    data:P
}

// 对象的ts
export interface ListDictType <P>{
  [id:string]:P
}

export interface ListResponse<P>{
  list:P[],
  count:number,
  currentPage:number,
  pageSize:number

}

export interface ListReqType{
  currentPage?:number,
  pageSize?:number,
  cid?:string
}

export type ListResType <P = any> = ResponseType<ListResponse <P>>
